package com.zhu.storesmanager.provider;


import android.net.Uri;
import android.provider.BaseColumns;

/**
 * 数据库保存字段
 */
public class StoresManagerSettings {

	public static final String SAVED = "iSaved";

	/**
	 * 签到
	 */
    public static final class SignInInfoColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_SIGNININFO +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_SIGNININFO +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_SIGNININFO + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String SINGIN_TIME = "sSiginTime";
        public static final String SINGIN_LAT = "sSiginLat";
        public static final String SINGIN_LNG = "sSiginLng";
    }

    /**
     * 型号
     */
    public static final class ModelsColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_MODELLIST +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_MODELLIST +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_MODELLIST + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String MODELS_NAME = "sModelName";
    }

    /**
     * 提醒
     */
    public static final class RemindsColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_REMINDS +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
        		StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_REMINDS +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_REMINDS + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String MESSAGEID = "iRemindMSGID";
        public static final String TEXT = "sRemindMSGText";
        public static final String TIME = "dRemindTime";
        public static final String CUSTOMERID = "sStoreID";
        public static final String EVENTID = "sEventID";
        public static final String DEADTIME = "dRemindDeadline";
        public static final String TYPE = "iType";
        public static final String RANGENAME = "sRangeName";
    }

    /**
     * 特殊任务
     */
    public static final class SpecialTaskColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_SPECIALTASKS +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_SPECIALTASKS +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_SPECIALTASKS + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STOREID = "sStoreID";
        public static final String TASK_ID = "iTaskID";
        public static final String TASK_DES = "sTaskDescription";
        public static final String TASK_FEEDBACK = "sTaskFeedback";
    }

    /**
     * 销量上报历史数据
     */
    public static final class ReportedSalesColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_REPORTEDSALES +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_REPORTEDSALES +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_REPORTEDSALES + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String MODELNAME = "sModelName";
        public static final String SALESNUM = "iSalesNum";
        public static final String SALESPRICE= "iSalesPrice";
        public static final String REPORTTIME = "dReportTime";
    }

    /**
     * 督导门店拜访任务
     */
    public static final class SupervisorVisitTaskColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_SUPERVISORVISITTASK +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_SUPERVISORVISITTASK +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_SUPERVISORVISITTASK + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String VISITID = "iVisitId";
        public static final String STOREID = "sStoreID";
        public static final String STORENAME = "sStoreName";
        public static final String VISITDATA = "dVisitData";
        public static final String CHECKIN_TIME_STATUS = "sCheckinStatus";
        public static final String CHECKIN_TIME = "dCheckintime";
        public static final String CHECKIN_LAT = "dCheckinlat";
        public static final String CHECKIN_LNG = "dCheckinlng";
        public static final String CHECKOUT_TIME_STATUS = "sCheckoutStatus";
        public static final String CHECKOUT_TIME = "dCheckouttime";
        public static final String CHECKOUT_LAT = "dCheckoutlat";
        public static final String CHECKOUT_LNG = "dCheckoutlng";
        public static final String VISITED_STATUS = "dVisited";
        public static final String PUTSTATUS = "iPutSuccess";
        public static final String ITEMNO = "iItemNo";
    }

    /**
     * 督导门店出样
     */
    public static final class SupervisorStoreSampleColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_SUPERVISOR_STORESAMPLE +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_SUPERVISOR_STORESAMPLE +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_SUPERVISOR_STORESAMPLE + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STOREID = "sStoreID";
        public static final String SAMPLE_COUNT = "iSampleCount";
        public static final String NONESAMPLE_COUNT = "iNoneSampleCount";
        public static final String THEME_MODELS = "sThemeModels";
        public static final String TIME_SELECTED = "iTimeSelected";
        public static final String TIME_MODELS = "sTimeModels";
        public static final String OTHER_MODELS = "sOtherModels";
        public static final String DIGIT_DEMO = "sDigitDemo";
    }

    /**
     * 数据词典
     */
    public static final class DataDictionaryColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_DATA_DICTIONARY +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_DATA_DICTIONARY +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_DATA_DICTIONARY + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //数据词典数据类型
        public static final int DATA_TYPE_SHAPE = 1; //展台型号类型
        public static final int DATA_TYPE_INFO = 2; //展台信息类型
        public static final int DATA_TYPE_BADITEMS = 3; //展台破损
        public static final int DATA_TYPE_CONNECTION = 4; //连线
        public static final int DATA_TYPE_BRANDS = 6; //品牌

        public static final int DATA_TYPE_COMPETE_BRANDS = 5; //竞品品牌
        public static final int DATA_TYPE_COMPETE_MODELS = 6; //竞品型号
        public static final int DATA_TYPE_COMPETE_FUCTIONS = 7; //竞品功能
        public static final int DATA_TYPE_COMPETE_ACTIVITYS = 8; //竞品活动
        
        //表字段名
        public static final String DATA_ID = "sDataID";
        public static final String DATA_NAME = "sDataName";
        public static final String DATA_TYPE = "iDataType";
    }

    /**
     * 数据标签项
     */
    public static final class DataProjectsColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_DATA_PROJECTS +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_DATA_PROJECTS +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_DATA_PROJECTS + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }
        
        public static final int PROJECT_TYPE_SAMPLE = 1; //门店出样
        public static final int PROJECT_TYPE_BOOTH = 2; //门店展台
        public static final int PROJECT_TYPE_SALES = 3; //门店销售
        public static final int PROJECT_TYPE_POSM = 4; //POSM
        public static final int PROJECT_TYPE_COMPETE = 5; //竞品信息
        public static final int PROJECT_TYPE_PROMOTER = 6; //促销员信息
        public static final int PROJECT_TYPE_SVTASK = 7; //督导特殊任务
        public static final int PROJECT_TYPE_POSMBACKUP = 8; //POSM备用(督导)
        public static final int PROJECT_TYPE_SALERTASK = 107; //促销员特殊任务

        //表字段名
        public static final String PROJECT_TYPE = "iDataType";
        public static final String PROJECT_NAME = "sDataName";
        public static final String ITEM_NAME = "sItemName";
        public static final String ITEM_SAVE = "iItemSave";
        public static final String ITEM_SHOW = "iItemShow";
        public static final String ITEM_SEQUENCE = "iSequence";
    }

    /**
     * 督导门店展台
     */
    public static final class SupervisorStoreBoothColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_SUPERVISOR_STOREBOOTH +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_SUPERVISOR_STOREBOOTH +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_SUPERVISOR_STOREBOOTH + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STOREID = "sStoreID";
        public static final String BOOTH_SHAPE = "sBoothShape";
        public static final String BOOTH_SHAPETEXT = "sBoothShapeText";
        public static final String BOOTH_INFO = "sBoothInfo";
        public static final String BOOTH_INFOTEXT = "sBoothInfoText";
        public static final String BOOTH_BADITEMS = "sBoothBaditems";
        public static final String BOOTH_BADITEMSTEXT = "sBoothBaditemsText";
        public static final String BOOTH_BADCOMPLETE = "iBoothBadComplete";
        public static final String BOOTH_BADDATE = "iBoothBadDate";
        public static final String BOOTH_CONNECTION = "sBoothConnection";
        public static final String BOOTH_CONNECTIONTEXT = "sBoothConnectionText";
        public static final String BOOTH_PHOTOALL= "sBoothPhotoAll";
        public static final String BOOTH_PHOTOFRONT = "sBoothPhotoFront";
        public static final String BOOTH_PHOTOTIME = "sBoothPhotoTime";
    }

    /**
     * 督导门店POSM
     */
    public static final class SupervisorStorePOSMColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_SUPERVISOR_STOREPOSM +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_SUPERVISOR_STOREPOSM +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_SUPERVISOR_STOREPOSM + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STOREID = "sStoreID";
        public static final String POSM_PCORNER = "iPrototypeCorner";
        public static final String POSM_POSTER = "iPoster";
        public static final String POSM_SINGLEPAGE = "iSinglePage";
        public static final String POSM_STAND = "iStand";
        public static final String POSM_ERRORINFO = "sErrorInfo";
        public static final String POSM_BACKUPTEXT1 = "sBackupText1";
        public static final String POSM_BACKUP1 = "sBackup1";
        public static final String POSM_BACKUPTEXT2 = "sBackupText2";
        public static final String POSM_BACKUP2= "sBackup2";
    }

    /**
     * 督导门店POSM
     */
    public static final class SupervisorStoreSalesColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_SUPERVISOR_STORESALES +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_SUPERVISOR_STORESALES +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_SUPERVISOR_STORESALES + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STOREID = "sStoreID";
        public static final String SALES_DATE = "iDate";
        public static final String SALES_ALLCOUNT = "iAllsellcount";
        public static final String SALES_ALLMONEY = "iAllsellmoney";
        public static final String SALES_BRANDS = "sBrands";
        public static final String SALES_COLLECT= "iCollect";
        public static final String SALES_CHECK = "iCheck";
        public static final String SALES_STOCK = "iStock";
        public static final String SALES_ADDSELECTED = "iAddSelected";
        public static final String SALES_ADDMODELS= "sNeedAddModels";
    }

    /**
     * 促销员信息
     */
    public static final class SupervisorStorePromoterColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_PROMOTERINFO +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_PROMOTERINFO +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_PROMOTERINFO + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STOREID = "sStoreID";
        public static final String PROMOTER_ID = "sPromoterId";
        public static final String PROMOTER_NAME = "sPromoterName";
        public static final String PROMOTER_INPOST = "iInpost";
        public static final String PROMOTER_IMAGE = "iImage";
        public static final String PROMOTER_STATUS = "iStatus";
        public static final String PROMOTER_BADREASON = "sBadReason";
        public static final String PROMOTER_CHECK = "iCheck";
        public static final String PROMOTER_TMPINFO = "iTemporary";
        public static final String PROMOTER_TMPNAME = "sTempName";
        public static final String PROMOTER_TMPTEL = "sTempTel";
        public static final String PROMOTER_NOTPOSTREASON = "sNotPostReason";
        public static final String PROMOTER_PROBLEM = "sProblem";
        public static final String PROMOTER_PHOTO = "sPhoto";
        public static final String PROMOTER_LAST = "iLast";
    }

    /**
     * 竞品信息
     */
    public static final class SupervisorStoreCompeteColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_COMPETEINFO +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_COMPETEINFO +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_COMPETEINFO + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STOREID = "sStoreID";
        public static final String COMPETE_BRANDID = "sBrandID";
        public static final String COMPETE_BRANDNAME = "sBrandName";
        public static final String COMPETE_MODELID = "sModelID";
        public static final String COMPETE_MODELNAME = "sModelName";
        public static final String COMPETE_PRICE = "iPrice";
        public static final String COMPETE_SELLCOUNT = "iSellcount";
        public static final String COMPETE_DATAIDS = "sDataIDs";
        public static final String COMPETE_DATANAMES = "sDataNames";
        public static final String COMPETE_OTHERS = "sOthers";
        public static final String COMPETE_PHOTO = "sPhoto";
        public static final String COMPETE_TYPE= "iType";
    }

    /**
	 * 拜访状态
	 */
    public static final class VisitStatusColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_VISITSTATUS +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_VISITSTATUS +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_VISITSTATUS + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STATUS_VISITID = "iVisitId";
        public static final String STATUS_SHAPE = "iStatus_shape";
        public static final String STATUS_BOOTH = "iStatus_booth";
        public static final String STATUS_SALES = "iStatus_sales";
        public static final String STATUS_POSM = "iStatus_posm";
        public static final String STATUS_COMPETE = "iStatus_compete";
        public static final String STATUS_PROMOTER = "iStatus_promoter";
        public static final String STATUS_TASK = "iStatus_task";
    }

    /**
	 * 竞品选中状态
	 */
    public static final class  SupervisorStoreCompeteSelectedColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                "/" + StoresManagerProvider.TABLE_COMPETESELECT +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                StoresManagerProvider.AUTHORITY + "/" + StoresManagerProvider.TABLE_COMPETESELECT +
                "?" + StoresManagerProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + StoresManagerProvider.AUTHORITY +
                    "/" + StoresManagerProvider.TABLE_COMPETESELECT + "/" + id + "?" +
                    StoresManagerProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        //表字段名
        public static final String STOREID = "sStoreID";
        public static final String PRICE = "iPriceSelected";
        public static final String NEW = "iNewSelected";
        public static final String ACTIVITY = "iActivitySelected";
    }
    
}
